
import os
import zipfile

path=os.path.dirname(__file__)+'/'

print(path)  # /home/hashaki/下载/vnpy_crypto/examples/

file=path+'balabala.txt'

print(zipfile.is_zipfile(file))  # False
